Skip to content

Conversation

@simeonmiteff
Copy link

I made some changes to be able to import ndiff as a module into an existing python3 project.

  • Update the print statements to python3 style
  • Replace iteritems() to items() (python3)
  • Move the top level code into if __name__=="__main__": block.

Not sure if you'd need additional updates to the README or elsewhere (#! line?) to explicitly require python3. Hope this is useful.

- Update the print statements to python3 style
- Replace iteritems() to items() (python3)
- Move the top level code into `if __name__=="__main__":` block.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant